package com.qf.efserver.food.service;

import com.qf.common.core.entity.Nutrition;
import com.qf.common.core.entity.UserNutritionRecords;
import com.qf.efserver.food.VO.FoodVO;
import com.qf.efserver.food.VO.OleFood;
import com.qf.efserver.food.param.UserNutritionRecordsParam;


import java.util.Date;
import java.util.List;

public interface FoodService {


    /**
     * 首页数据
     * @return 返回当天详细数据
     */
    List<FoodVO> selectCFP();

    /**
     * 搜索
     * @param foodName 食物名称
     * @return 返回详细参数
     */
    List<Nutrition> selectShowByName(String foodName);

    /**
     * 添加
     * @param param 添加
     */
    void addRecords(UserNutritionRecordsParam param);

    List<OleFood> selectOldFood();

}
